/**
 * @file lv_pony.h
 *
 */

 #ifndef LV_PONY_H
 #define LV_PONY_H

 #ifdef __cplusplus
 extern "C" {
 #endif

 /*********************
  *      INCLUDES
  *********************/
 #if LV_USE_OS == LV_OS_CUSTOM

 #include <k_task.h>
 #include <k_mutex.h>
 #include <k_sem.h>

 /*********************
  *      DEFINES
  *********************/

 /**********************
  *      TYPEDEFS
  **********************/
 typedef struct {
    task_id thread;
 } lv_thread_t;

 typedef struct {
     mutex_id mutex;
 } lv_mutex_t;

 typedef struct {
    sem_id sem;
 } lv_thread_sync_t;

 /**********************
  * GLOBAL PROTOTYPES
  **********************/

 /**********************
  *      MACROS
  **********************/

 #endif /*LV_USE_OS == LV_OS_CUSTOM*/

 #ifdef __cplusplus
 } /*extern "C"*/
 #endif

 #endif /*LV_PONY_H*/
